package com.neo.office.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neo.office.server.domain.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * 获取所有用户
     * @param id
     * @param keywords
     * @return
     */
    List<User> getAllUser(@Param("id") Integer id, @Param("keywords") String keywords);
}